package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.PmsAttrGroup;
import com.atguigu.gulimall.product.vo.AttrGroupWithAttrsVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 属性分组 服务类
 * </p>
 *
 * @author szh
 * @since 2020-12-01
 */
public interface IPmsAttrGroupService extends IService<PmsAttrGroup> {
	PageUtils queryPage(Map<String, Object> params);
	PageUtils queryPage(Map<String, Object> params,Long catelogId);

	/**
	 * 功能： 查询该分组下的所有属性集合
	 * @param catelogId 分组id
	 * @return
	 */
	List<AttrGroupWithAttrsVO> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}
